

/**
* I think element-ui's default theme color is too light for long-term use.
* So I modified the default color and you can modify it to your liking.
**/
@import "~element-ui/packages/theme-chalk/src/index";

/* theme color */
$--color-primary: #1890ff;
$--color-success: #13ce66;
$--color-warning: #ffba00;
$--color-danger: #ff4949;
// $--color-info: #1E1E1E;

$--button-font-weight: 400;

// $--color-text-regular: #1f2d3d;

$--border-color-light: #dfe4ed;
$--border-color-lighter: #e6ebf5;

$--table-border: 1px solid #dfe6ec;

/* icon font path, required */
$--font-path: "~element-ui/lib/theme-chalk/fonts";

// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
:export {
  theme: $--color-primary;
}
/* 改变主题色变量 */
$--color-primary: rgb(24, 133, 221);

$--font-path: '~element-ui/lib/theme-chalk/fonts';

@import "~element-ui/packages/theme-chalk/src/index";
// @import "@riophae/vue-treeselect/dist/vue-treeselect.min.css";

// .vue-treeselect__control {
//     height: 100%
// }

.el-progress__text {
    color: #ffffff;
}
.el-progress-bar__innerText {
    color: #303133;
}

.el-table th, .el-table td {
    padding: 8px 0;
}
.el-table td, .el-table th.is-leaf {
    border-bottom: 1px solid #cfd5da;
}
.el-table th {
    padding: 5px 0;
    background-color: #eef1f6;
}
.el-table--border td, .el-table--border th {
    border-right: 1px solid #ced0d6;
}
.el-table thead {
    border-color: rgb(17, 17, 17);
    color: #4a4b4d;
    font-weight: 500;
    background-color: #4a4b4d
}
.el-table--group, .el-table--border {
    border: 1px solid #c8cbd2;
}
.el-header {
    padding: 0 0;
}
.absolute{
    position: absolute;
}

.search-box{
    display: flex;
    background-color: #eee;
    margin-bottom: 8px;
}
.el-form-item-search {
    margin-bottom: 0px;
}
.search-box__input{width:230px;margin:2px}

.search-button{
    & .button{
        float: right;
        margin-bottom: 6px;
    }
}


.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

